//-----------------------------------------------------------------------
// <copyright file="UnitPriceBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class UnitPriceBase
	{
		
		#region Variable Declarations
		public static string _Table = "UnitPrice";
		private long				unitPriceId = 0;
		private string				title = string.Empty;
		private string				summary = string.Empty;
		private long				order = 0;
		private bool				enable = false;
		#endregion
		
		#region Constructors
		public UnitPriceBase() {}
		
		public UnitPriceBase (
			long unitPriceId,
			string title,
			string summary,
			long order,
			bool enable)
		
		{
			this.unitPriceId = unitPriceId;
			this.title = title;
			this.summary = summary;
			this.order = order;
			this.enable = enable;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long UnitPriceId
		{
			get { return unitPriceId; }
			set { unitPriceId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Summary
		{
			get { return summary; }
			set { summary = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum UnitPriceColumns
	{
		UnitPriceId,
		Title,
		Summary,
		Order,
		Enable
	}//End enum
}